package com.ode.demo1;

import demo2.ISPring;

public class Ani {
    public void panduan(ISPring isPring){
        isPring.test1();
        if(isPring instanceof Dog){
            Dog dog =(Dog) isPring;
            ((Dog) isPring).test4();
        }
        isPring.test3();
    }
}
